package branchAndBounding;

/**
 * Created by asus on 2017/12/7.
 */
public class Node implements Comparable<Node>{
    int level;//树的第几层
    int weight;
    int value;
    double prop;//value/weight;



    @Override
    public int compareTo(Node o) {
        return o.prop >this.prop ?-1:(o.prop ==this.prop ?0:1);
    }


}
